package x_yeyue.obj;

import x_yeyue.GameWin;
import x_yeyue.utils.GameUtils;

import java.awt.*;

public class BossGiftObj extends GameObj{
    public BossGiftObj(Image img, int width, int height, int x, int y, double speed, GameWin frame) {
        super(img, width, height, x, y, speed, frame);
    }

    public BossGiftObj(int x, int y) {
        super(x, y);
    }

    public BossGiftObj() {
    }

    @Override
    public Rectangle getRec() {
        return super.getRec();
    }

    @Override
    public void paintSelf(Graphics g) {
        super.img = GameUtils.bossgiftImg;
        super.width = 64;
        super.height = 62;
        super.paintSelf(g);
    }
}
